package cn.dyhack.bibiscan.util.code;

public enum CommonRespType {

    LOGIN_SUCCESS("登录成功", 1, "登录成功"), 
    LOGOUT_SUCCESS("注销成功", 2, "注销成功"), 
    SUCCESS_RESPONSE("成功响应", 3,"操作成功"),
    FAIL_RESPONSE("失败响应", 4, "操作失败");

    String description;
    int code;
    String message;

    CommonRespType(String desc, int code, String message) {
        this.description = desc;
        this.code = code;
        this.message = message;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
